// 用户相关的所有请求

const { request } = require("@/utils");

// 登录请求
export const loginAPI = (loginForm) => {
  return request.post("/authorizations", loginForm);
};
//获取用户信息
export const getProfileAPI = () => {
  return request.get("/user/profile");
};
